﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<%@ Import Namespace="LangMauViet.Classes.Helper" %>
<%@ Import Namespace="LangMauViet.Models.Entity" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
</head>
<body>
    <% 
        var ilistHotWeb = (List<Images>)ViewData["ilistHotWeb"];
      
    %>
    <ul class="clearfix">
        <% if (!ReferenceEquals(ilistHotWeb, null))
           {
               int j = 2;
               for (int i = 0; i < ilistHotWeb.Count; i++)
               {
                   Images newse = ilistHotWeb.ElementAt(i);
        %>
        <% if (i == j)
           {
               j += 3;
        %>
        <li class="vitem vlarge last">
            <% }
           else
           { %>
            <li class="vitem vlarge">
                <% } %>
                <a title="<%= newse.Name %>" href="/Anh/Chi-tiet/<%= newse.Icon %>/<%=UIHelper.convertToUnSign(newse.Name) %>"
                    class="vlink">
                    <div class="vthumb">
                        <img alt="<%= newse.Name %>" src="http://vipmobi.net:7001/mobile/download?v=1&w=500&h=500&id=<%= newse.Icon %>">
                        <!--  <span class="vticker">02:21</span>  <span class="watch-later _watch_later " title="Đánh dấu chờ xem lại"
                                            data-cid="1726768"><i class="icon-time"></i></span> -->
                    </div>
                    <h4 class="max-line-2">
                        <%= newse.Name %></h4>
                </a></li>
            <% }
                                   } %>
    </ul>
</body>
</html>
